package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.ISysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 数据字典信息
 *
 * @author ruoyi
 */
@RestController
@RequestMapping("/xcx/dictData")
public class XcxDictData  extends BaseController {
    @Autowired
    private ISysDictDataService dictDataService;

    @GetMapping(value = "/getType")
    public AjaxResult getType(){
        return success(dictDataService.selectDictXcxType());
    }
}
